while(1);
}
-#if 0
-void notify_remote_via_irq(int virq)
-{
- printk("notify_remote_via_irq called... FIXME??\n");
- while(1);
-}
-#endif
-
void unbind_virq_from_evtchn(int virq)
{
evtchn_op_t op;
void notify_remote_via_irq(int irq)
{
- int evtchn = virq_to_evtchn[irq]; // FIXME... is this right??
-
- if (VALID_EVTCHN(evtchn))
- notify_remote_via_evtchn(evtchn);
+ /* IA64 has same irq value as event channel vector */
+ if (VALID_EVTCHN(irq))
+ notify_remote_via_evtchn(irq);
}
irqreturn_t evtchn_interrupt(int irq, void *dev_id, struct pt_regs *regs)
blkif->shmem_ref = shared_page;
blkif->shmem_handle = op.handle;
+#ifdef __ia64__
+ /* on some arch's, map_grant_ref behaves like mmap, in that the
+ * passed address is a hint and a different address may be returned */
+ blkif->blk_ring_area->addr = gnttab_map_vaddr(op);
+#endif
+
return 0;
}